package com.onepower.core.modules.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

@TableName("match_score_rule_interval_score")
public class MatchScoreRuleIntervalScore implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    private Integer id;

    @TableField("rule_id")
    private Integer ruleId;

    @TableField("init_value")
    private Float initValue;

    @TableField("interval_value")
    private Integer intervalValue;

    @TableField("spacing_value")
    private Float spacingValue;

    @TableField("create_time")
    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getRuleId() {
        return ruleId;
    }

    public void setRuleId(Integer ruleId) {
        this.ruleId = ruleId;
    }

    public Float getInitValue() {
        return initValue;
    }

    public void setInitValue(Float initValue) {
        this.initValue = initValue;
    }

    public Integer getIntervalValue() {
        return intervalValue;
    }

    public void setIntervalValue(Integer intervalValue) {
        this.intervalValue = intervalValue;
    }

    public Float getSpacingValue() {
        return spacingValue;
    }

    public void setSpacingValue(Float spacingValue) {
        this.spacingValue = spacingValue;
    }
}
